home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 1.6 / Buddy API Docs.swf / texts / 1556.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  4.8 KB  |  165 lines

  1. 140
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. GetFilename
  6. --- RECORDSEPARATOR ---
  7.  (continued)
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. The flags argument allows you to change the way the dialog box looks and behaves. 
  12. --- RECORDSEPARATOR ---
  13. It can be the combination of any of these values on
  14. --- RECORDSEPARATOR ---
  15.  Windows
  16. --- RECORDSEPARATOR ---
  17. --- RECORDSEPARATOR ---
  18. --- RECORDSEPARATOR ---
  19. OFN_READONLY 
  20. --- RECORDSEPARATOR ---
  21. Causes the Read Only check box to be checked initially when the dialog box is created. 
  22. --- RECORDSEPARATOR ---
  23. --- RECORDSEPARATOR ---
  24. OFN_OVERWRITEPROMPT 
  25. --- RECORDSEPARATOR ---
  26. Causes the Save As dialog box to generate a message box if the selected file already 
  27. --- RECORDSEPARATOR ---
  28. exists. The user must confirm whether to overwrite the file. 
  29. --- RECORDSEPARATOR ---
  30. --- RECORDSEPARATOR ---
  31. OFN_HIDEREADONLY 
  32. --- RECORDSEPARATOR ---
  33. Hides the Read Only check box. 
  34. --- RECORDSEPARATOR ---
  35. --- RECORDSEPARATOR ---
  36. OFN_NOCHANGEDIR 
  37. --- RECORDSEPARATOR ---
  38. Restores the current directory 
  39. --- RECORDSEPARATOR ---
  40. to its original value if the user changed the directory while 
  41. --- RECORDSEPARATOR ---
  42. selecting a file. 
  43. --- RECORDSEPARATOR ---
  44. 32 
  45. --- RECORDSEPARATOR ---
  46. OFN_ADDEXTENSION 
  47. --- RECORDSEPARATOR ---
  48. If the user enters a name without an extension, the first extension listed in the Filter 
  49. --- RECORDSEPARATOR ---
  50. argument will be added to the end of the returned filename. 
  51. --- RECORDSEPARATOR ---
  52. 256 
  53. --- RECORDSEPARATOR ---
  54. OFN_RETURNASLIST 
  55. --- RECORDSEPARATOR ---
  56. If OFN_ALLOWMULTISELECT is specified, returns the filenames as a list. 
  57. --- RECORDSEPARATOR ---
  58. 512 
  59. --- RECORDSEPARATOR ---
  60. OFN_ALLOWMULTISELECT 
  61. --- RECORDSEPARATOR ---
  62. Specifies that the File Name list box allows multiple selections. 
  63. --- RECORDSEPARATOR ---
  64. 2048 
  65. --- RECORDSEPARATOR ---
  66. OFN_PATHMUSTEXIST 
  67. --- RECORDSEPARATOR ---
  68. Specifies that the user can type only valid paths and filenames. If this flag is used and the 
  69. --- RECORDSEPARATOR ---
  70. user types an invalid path and filename in the File Name entry field, the dialog box 
  71. --- RECORDSEPARATOR ---
  72. function displays a warning in a message box. 
  73. --- RECORDSEPARATOR ---
  74. 4096 
  75. --- RECORDSEPARATOR ---
  76. OFN_FILEMUSTEXIST 
  77. --- RECORDSEPARATOR ---
  78. Specifies that the user can type only names of 
  79. --- RECORDSEPARATOR ---
  80. existing files in the File Name entry field. If 
  81. --- RECORDSEPARATOR ---
  82. this flag is specified and the user enters an invalid name, the dialog box procedure 
  83. --- RECORDSEPARATOR ---
  84. displays a warning in a message box. 
  85. --- RECORDSEPARATOR ---
  86. 8192 
  87. --- RECORDSEPARATOR ---
  88. OFN_CREATEPROMPT 
  89. --- RECORDSEPARATOR ---
  90. Specifies that the dialog box function should ask whether the user wants to create a file 
  91. --- RECORDSEPARATOR ---
  92. that does not currently exist. 
  93. --- RECORDSEPARATOR ---
  94. 32768 
  95. --- RECORDSEPARATOR ---
  96. OFN_NOREADONLYRETURN 
  97. --- RECORDSEPARATOR ---
  98. Specifies that the returned file does not have the Read Only check box checked and is not 
  99. --- RECORDSEPARATOR ---
  100. in a write-protected directory. 
  101. --- RECORDSEPARATOR ---
  102. 131072 
  103. --- RECORDSEPARATOR ---
  104. OFN_NONETWORKBUTTON 
  105. --- RECORDSEPARATOR ---
  106. Hides and disables the Network button. 
  107. --- RECORDSEPARATOR ---
  108. 262144 
  109. --- RECORDSEPARATOR ---
  110. OFN_NOLONGNAMES 
  111. --- RECORDSEPARATOR ---
  112. Specifies that long filenames are not displayed in the File Name list box. This value is 
  113. --- RECORDSEPARATOR ---
  114. ignored if OFN_EXPLORER is set. 
  115. --- RECORDSEPARATOR ---
  116. These values are available in 32 bit only 
  117. --- RECORDSEPARATOR ---
  118. 524288 
  119. --- RECORDSEPARATOR ---
  120. OFN_EXPLORER 
  121. --- RECORDSEPARATOR ---
  122. Creates an Open or Save As dialog box that uses user-interface features similar to the 
  123. --- RECORDSEPARATOR ---
  124. Windows Explorer. 
  125. --- RECORDSEPARATOR ---
  126. 1048576 
  127. --- RECORDSEPARATOR ---
  128. OFN_NODEREFERENCELINKS 
  129. --- RECORDSEPARATOR ---
  130. Directs the dialog box to return the path and filename of the selected shortcut (.LNK) file. 
  131. --- RECORDSEPARATOR ---
  132. If this value is not given, the dialog box returns the path and filename of the file 
  133. --- RECORDSEPARATOR ---
  134. referenced by the shortcut. 
  135. --- RECORDSEPARATOR ---
  136. 2097152 
  137. --- RECORDSEPARATOR ---
  138. OFN_LONGNAMES 
  139. --- RECORDSEPARATOR ---
  140. Causes the Open or Save As dialog box to display long filenames. If this flag is not 
  141. --- RECORDSEPARATOR ---
  142. specified, the dialog box displays filenames in 8.3 format. This value is ignored if 
  143. --- RECORDSEPARATOR ---
  144. OFN_EXPLORER is set. 
  145. --- RECORDSEPARATOR ---
  146. 4194304 
  147. --- RECORDSEPARATOR ---
  148. OFN_SHOWPLACESBAR 
  149. --- RECORDSEPARATOR ---
  150. Shows the Places bar. Only available on ME/2000/XP.  Has no effect unless 
  151. --- RECORDSEPARATOR ---
  152. OFN_EXPLORER is also specified. Note that if this flag is specified then the Position 
  153. --- RECORDSEPARATOR ---
  154. arguments are ignored - Windows will p
  155. --- RECORDSEPARATOR ---
  156. lace the dialog in the last place left by the user.
  157. --- RECORDSEPARATOR ---
  158.  
  159. --- RECORDSEPARATOR ---
  160. (continued next page)